home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9257 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  916 b 

  1. Path: news.interpath.net!mercury!softbase
  2. From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Tradition or what?
  5. Date: 8 Mar 1996 23:30:24 GMT
  6. Organization: Interpath -- Providing Internet access to North Carolina
  7. Message-ID: <4hqfug$19l@news.interpath.net>
  8. References: <4g0elg$mdr@redstone.interpath.net> <4hpd8a$d70@alterdial.UU.NET> <1996Mar8.153250.115645@kuhub.cc.ukans.edu>
  9. NNTP-Posting-Host: mercury.interpath.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. anh@kuhub.cc.ukans.edu wrote:
  13. : Well, I found one good use of magic numbers such as when one needs a 
  14. : localized temporary buffer of data.
  15. : Well, if I know the data is always going to be less than 15 or whatever, 
  16. : there is really no need to use a #define here.
  17.  
  18. You defeated your own argument!
  19.  
  20. Suppose you "know" that your buffer is "always" going to be 80
  21. bytes. Then it changes to 132!
  22.  
  23. Scott
  24.  
  25.